package com.chenye.dubbo;

import com.chenye.dubbo.service.impl.CustomerService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Package: [com.chenye.dubbo.client]
 * @Description: [一句话描述该类的功能]
 * @Author: [chenye]
 * @CreateDate: [2018/3/26 16:11]
 * @UpdateUser: [chenye(如多次修改保留历史记录，增加修改记录)]
 * @UpdateDate: [2018/3/26 16:11，(如多次修改保留历史记录，增加修改记录)]
 * @UpdateRemark: [说明本次修改内容, (如多次修改保留历史记录，增加修改记录)]
 * @Version: [v1.0]
 */
@SpringBootApplication
public class ClientApplication {
    public static void main(String[] args){
        ConfigurableApplicationContext run = SpringApplication.run(ClientApplication.class,args);
        CustomerService abcService = run.getBean(CustomerService.class);
        String str = abcService.sayHi("yigelaingge");
        System.out.println(str);
    }
}
